Repository navigation
dr-math-binding-probe: D-NFR-1 mapping replay and kept-result admission - #2023
Merged
Merged
Conversation
FramedBinding seals a binding against one Frame, replays the mapping to reproduce the assignment, and admits a table again only while the relation map, the bound tile and the frame hold. A content-only advance stays admitted and reads the new content. Kept<P> holds a content-dependent result and refuses it after a content change unless recomputed, and never across a mapping advance (EXO-255). Admission allocates nothing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XAqKMPJjVvasjwqhjJ6c9p
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
AdaWorldAPI
marked this pull request as ready for review
November 11, 2026 19:57
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is D-NFR-1 (
d-native-repr-contract-v1.md), read as mapping replay per the 2026-11-11 note and DECISION EXO-255.What it adds
src/nfr1.rs. The library nameslance-graph-dt64only (Frame,MapTable,TileMap).FramedBinding<Q>sealpins a binding to oneFrame. It refuses a binder resolved under another relation map.replayreproduces the assignment through the sealed frame.admitadmits a table again only while three things hold: the bound tile still reads through the frame, the relation map is unchanged, and the tile's width and globals are unchanged. A content-only advance stays admitted and reads the new content. A pure extension still refuses in the lab.Kept<P>holds a content-dependent result, such as a precomputed WHERE mask.read_or_recomputerecomputes it instead.Wiring
pub mod nfr1;in the crate'slib.rs.lance-graph-dt64as a dependency.crates/lance-graph-dt64/**added to the workflow's path filters.Evidence
cargo test --manifest-path crates/dr-math-binding-probe/Cargo.toml: every suite passes, including 14 intests/nfr1.rs. clippy-D warningsand fmt are clean.Disable runs. Each anchor was asserted to occur exactly once, each run turned its test red, and the file was restored afterwards.
table.seal()admitextendstable.seal()seal's relation-map check short-circuitedKept's source check short-circuitedKept's source check replaced bysame_issueKept's binding check short-circuitedto_vec()Not covered by a one-line disable
read_or_recomputere-runsadmit, which refuses with the same error, so the match arm andadmitare redundant guards and no single line separates them. It would take two edits: widen the arm and bypassadmitin the recompute branch. The redundancy was kept on purpose.Not verified
admitfigure was taken.Generated by Claude Code